package com.itheima.service.impl;

import com.itheima.entity.Account;
import com.itheima.service.AccountService;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
// 告诉IOC容器，实例化当前对象，id as1
@Service("as1")
public class AccountServiceImpl implements AccountService {
    @Override
    public void save(Account account) {
       System.out.println("as1 保存用户信息成功："+account);
    }
}